<?php echo Html::doctype('html5') ?>
<html>
	<head>
		<title><?php echo isset($title) ? $title : '' ?></title>
		<meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::get('encoding') ?>" />
		<link rel="shortcut icon" type="image/gif" href="<?php //echo Asset::img('favicon.gif')  ?>">
		<?php echo Asset::render('css') ?>
		<script>
			var BASE_URL = '<?php echo Uri::base(true) ?>';
			var SESSION_ID = '<?php echo session_id() ?>';
		</script>
		<?php echo Asset::render('jquery') ?>
	</head>
	<body class="body">
		<div id="wrapper">
			<div class="header"><?php echo View::forge('blocks/header') ?></div>
			<!-- /#header -->
			<div class="clearfix"></div>
			<div class="main-menu"><?php echo View::forge('blocks/main_menu') ?></div>
			<!-- /#main-menu -->
			<div class="clearfix"></div>
			<div class="content">
				<?php echo isset($content) ? $content : ('Loading...') ?>
			</div>
			<!-- /#content -->
			<div class="clearfix"></div>
			<div class="box-ads">
				<?php echo Asset::img('files/ads-footer.jpg') ?>
			</div>
		</div>
		<div id="footer">
			<div class="container">
				<?php echo View::forge('blocks/footer') ?>
			</div>
		</div>
		<!-- Page rendered in {exec_time}s using {mem_usage}mb of memory -->
		<?php echo Asset::render('js') ?>
	</body>
</html>
